<?
/***
*    This file is part of Marketorama.
*
*    Marketorama is free software: you can redistribute it and/or modify
*    it under the terms of the GNU General Public License as published by
*    the Free Software Foundation, either version 3 of the License, or
*    (at your option) any later version.
*
*    Marketorama is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR *PURPOSE.  See the
*    GNU General Public License for more details.
*
*    You should have received a copy of the GNU General Public License
*    along with Marketorama.  If not, see <http://www.gnu.org/licenses/>.
***/
?>
<? 
if (!isset($UserName))
{
    echo('<h1>This profile doesn\'t exist</h1>');
}else{
    if ($Public==false)
    {
        echo('<h1>This profile is not public</h1>');
    }else{
        echo ('<h1><img src="'.base_url().$Avatar.'"/>'.$FirstName.' '.$LastName.'</h1>'); 
        echo ('<p>Username: '.$UserName.'</p>');
        echo ('<p>First name: '.$FirstName.'</p>');
        echo ('<p>Last name: '.$LastName.'</p>');
    }
}
?>
